package com.soft.line.service.impl;

import com.soft.line.entity.ButtonInfo;
import com.soft.line.mapper.ButtonInfoMapper;
import com.soft.line.service.ButtonInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ButtonInfoServiceImpl implements ButtonInfoService {

    @Autowired
    private ButtonInfoMapper buttonInfoMapper;

    @Override
    public List<ButtonInfo> selectAll() {
        return buttonInfoMapper.selectAll();
    }

    @Override
    public ButtonInfo selectByButtonId(String buttonId) {
        return buttonInfoMapper.selectByButtonId(buttonId);
    }
}
